<%@ page import="ecom.shell.ShellRemote"%>
<%@ page import="javax.transaction.*"%>
<%@ page import="javax.naming.Context"%>
<%@ page import="javax.naming.InitialContext"%>
<%@ page import="javax.naming.NamingException"%>

<%@ page import="java.io.*"%>
<%@ page import="javax.xml.transform.*"%>
<%@ page import="javax.xml.transform.stream.*"%>


<ul id="family-ipod" class="hc first-row">
    <%
        //FORMATAGE DU XML
        TransformerFactory tFactory = TransformerFactory.newInstance();
        Transformer transformer = tFactory.newTransformer(new StreamSource("C://JAVA//wkspace//ecom//ecom-war//web//XSL/product.xsl"));
        StringWriter res = new StringWriter();
        transformer.transform(
                new StreamSource(new StringReader(String.valueOf(request.getAttribute("products")))),
                new StreamResult(res));
        out.println(res);
    %>
</ul>